//
//  SLTimerModel.h
//  Objective-C
//
//  Created by S_Line on 2018/9/6.
//  Copyright © 2018年 S_Line. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, SLTimerType) {
    SLTimerTypeTimer,
    SLTimerTypeDisplayLink,
    SLTimerTypeGCD
};

@interface SLTimerModel : NSObject

@property (nonatomic, assign) SLTimerType timerType;

+ (instancetype)modelWithTimerType:(SLTimerType)timerType;
- (instancetype)initWithTimerType:(SLTimerType)timerType;

@end
